<template>
<div class="mod-config">
  <slot name="head"></slot>
  <div class="div-e">
    <div class="body">
      <div class="body-left">
        <div class="in-t">
          <div class="in-ts"></div>
            <h3 >
              <slot name="left-title">
                功能授权
              </slot>
            </h3>
        </div>
        <div>
          <slot name="left"></slot>
        </div>
      </div>
      <div class="body-right">
        <div class="in-t">
          <div class="in-ts"></div>
            <h3 >
              <slot name="right-title">
                数据授权
              </slot>
            </h3>
        </div>
        <div>
          <slot name="right"></slot>
        </div>
      </div>
    </div>
    <slot name="bottom" ></slot>
  </div>
</div>
</template>

<script>
import FunctionAuthorization from './FunctionAuthorization'
import DataAuthorization from './DataAuthorization'
export default {
  name: 'AuthorizationForm',
  components: {DataAuthorization, FunctionAuthorization}
}
</script>

<style lang="less" scoped>
.auth-form{
  padding: 15px !important;
  background-color: #F5F7FA !important;
}
.body{
  display: flex;
  justify-content: space-between;
  overflow: auto;
  margin-bottom: 15px;
  .body-left{
    width: 65%;
    display: flex;
    flex-direction: column;
  }
  .body-right{
    width: 30%;
    display: flex;
    flex-direction: column;
  }
}
.cent-style{
  display: flex;
  justify-content: center;
}
</style>
<style lang="less" src="../../../../style/paging.scss" scoped>
</style>
